package demo15;

/**
 * @program: qy158
 * @description:
 * @author: 闫克起2
 * @create: 2022-11-01 10:35
 **/
public class TestDead {
    public static void main(String[] args) {
        Boy boy=new Boy();
        boy.setName("李晨");

        Girl girl=new Girl();
        girl.setName("范冰冰");

        boy.start();
        girl.start();
    }
}
